/*
 * @Description: 
 * @Author: yyh
 * @Date: 2021-07-01 14:56:15
 * @LastEditors: yyh
 * @LastEditTime: 2021-07-01 15:32:19
 */
import axios from "axios"

export async function  upDateFile (file){
    let data = new FormData()
    data.append('file',file.file)
    let res =await axios({
        method:'post',
        url:'http://121.199.29.84:5588/file/upload',
        data:data
    })
    // console.log(res);
    return 'http://121.199.29.84:8888/group1/'+ res.data.data.id
    
}